<?php
session_start();
$id1=$_GET['itemss'];
if(($_SESSION['SS'][$id1]))
{
	header("location:sosanh.php");
}
else
{
while(count($_SESSION['SS']) >= 2)
{
	
	$item[] ="";
	$i = 0;
	foreach($_SESSION['SS'] as $key=>$value)
   {
    $item[$i]=$key;
	$i++;
   }
   unset($_SESSION['SS'][$item[0]]);
	
	
}


	$_SESSION['SS'][$id1]=$id1;
	header("location:sosanh.php");

}
exit();
?> 